package com.xhtt.modules.task.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

import com.xhtt.common.file.FileInfoModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 罐分支任务-分配人员
 * </p>
 *
 * @author feipc
 * @since 2019-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TaskServiceTaskUser extends SuperTaskUser {

    private static final long serialVersionUID = 1L;

    public TaskServiceTaskUser() {
        super();
    }

    public TaskServiceTaskUser(Integer serviceTaskId, Integer userId, String userName, List<FileInfoModel> files, String memo) {
        super(userId,userName,files,memo);
        this.serviceTaskId = serviceTaskId;
    }

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer serviceTaskId;

}
